IP Stack

  • TUN interface provide a scheme to register a set of IP Stacks (implementing IPStackProtocol) to process IP packets from a virtual TUN interface.

    See more

    Declaration

    Swift

    open class TUNInterface
  • The protocol defines an IP stack.

    See more

    Declaration

    Swift

    public protocol IPStackProtocol: class
  • This class wraps around tun2socks to build a TCP only IP stack.

    See more

    Declaration

    Swift

    open class TCPStack: TSIPStackDelegate, IPStackProtocol